module.exports = {
  extends: ['@commitlint/config-conventional'],
  rules: {
    'scope-enum': [
      2,
      'always',
      [
        'accordion',
        'avatar',
        'badge',
        'bar',
        'box',
        'breadcrumbs',
        'button',
        'button-group',
        'card',
        'checkbox',
        'checkbox-group',
        'combo-box',
        'common',
        'container',
        'date-picker',
        'drawer',
        'dropdown',
        'dropdown-menu',
        'file-uploader',
        'grid',
        'hooks',
        'inline-notification',
        'input',
        'input-helper-text',
        'input-label',
        'input-number',
        'labelled',
        'label-control',
        'link',
        'list',
        'masked-input',
        'modal',
        'next-js-provider',
        'notification',
        'input-password',
        'pagination',
        'polyfills',
        'popup',
        'portal',
        'progress',
        'radio',
        'radio-group',
        'select',
        'slider',
        'stepper',
        'switch',
        'table',
        'tabs',
        'tag',
        'text',
        'textarea',
        'theme',
        'tooltip',
        'typography',
        'underlay',
        'utils',
        'fonts',
        'divider',
        'autocomplete',
      ],
    ],
  },
}
